SftTree/NET 2.0

HorizontalOffsetChangedEventHandler Delegate

Softel vdm, Inc.

Represents the method that will handle the HorizontalOffsetChanged event.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Delegate Sub HorizontalOffsetChangedEventHandler( _
     ByVal sender As Object, _
     ByVal e As HorizontalOffsetChangedEventArgs )

C#   

public delegate void HorizontalOffsetChangedEventHandler(
     object sender,
     HorizontalOffsetChangedEventArgs e );

C++   

public: delegate void HorizontalOffsetChangedEventHandler(
     Object^ sender,
     HorizontalOffsetChangedEventArgs^ e );

e

A HorizontalOffsetChangedEventArgs that contains the event data.

sender

The source of the event.

The declaration of your HorizontalOffsetChanged event handler must have the same parameters as the HorizontalOffsetChangedEventHandler delegate declaration.

Comments

The HorizontalOffsetChangedEventHandler delegate represents the method that will handle the HorizontalOffsetChanged event.

A HorizontalOffsetChangedEventHandler delegate is created by an application to identify the method that will handle the HorizontalOffsetChanged event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about handling events with delegates, see Handling and Raising Events (.NET Documentation).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com